package com.assignwork.mapper;

import com.assignwork.dto.DailyPlanDTO;
import com.assignwork.vo.*;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface PlanMapper {

    WeatherTideVO weather(@Param("date") String date);

    List<TideVO> tide(@Param("date") String date);

    String getPlanTotalByVoyage(@Param("search") DailyPlanDTO dto);

    List<CargoCategoryVO> listCargoNameByCode(@Param("cargoType") String cargoType);

    StartedCabinVO cabinTonByShip(@Param("shipName") String shipName, @Param("voyage") String voyage);

    List<RealLineWorkInfoVO> detailRealLineInfo(@Param("planDate") LocalDate planDate);
}
